package com.weixing.mall.provider.model.dto;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @ClassName CategoryChgEnableDto
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/8/7
 * @Version 1.0
 **/
@Data
@ApiModel(value = "商品类目改变状态")
@AllArgsConstructor
public class CategoryChgEnableDto {
    @ApiModelProperty("类目id")
    @NotNull(message = "类目id不能为空")
    private Long categoryId;
    @ApiModelProperty("启用/禁用")
    @NotNull(message = "请输入正确的状态")
    private IsEnableEnum enable;
}
